using System.Diagnostics;
namespace TortoiseGit
{
    public static class Handle
    {
        public static void OpenLog()
        {
            Process.Start(new ProcessStartInfo("TortoiseGitProc.exe", $"/command:log /path:\"{PathUtil.gitRootPath}\""));
        }
        public static void OpenPull()
        {
            Process.Start(new ProcessStartInfo("TortoiseGitProc.exe", $"/command:pull /path:\"{PathUtil.gitRootPath}\""));
        }
        public static void OpenCommit()
        {
            Process.Start(new ProcessStartInfo("TortoiseGitProc.exe", $"/command:commit /path:\"{PathUtil.gitRootPath}\""));
        }
    }
}